var now = function(){
	var myDate   = new Date();
	var fullyear = myDate.getFullYear(); //获取完整的年份(4位,1970-????)
	var month    = myDate.getMonth()+1; //获取当前月份(0-11,0代表1月)
	var date     = myDate.getDate(); //获取当前日(1-31)
	var hour     = myDate.getHours(); //获取当前小时数(0-23)
	var minutes  = myDate.getMinutes(); //获取当前分钟数(0-59)
	if(month < 10 ) 
	{
		month = '0' + month;
	}
	if(date < 10 )
	{
		date = '0' + date;
	}
	if(hour < 10)
	{
		hour = '0' + hour;
	}
	if(minutes < 10 )
	{
		minutes = '0' + minutes;
	}
	var nowDate = fullyear+"-"+month+"-"+date+" "+hour+":"+minutes;
	return nowDate;
}



